var { resolve } = require('./build.uitls')

module.exports = {
  output: {
    filename: '[name].[hash:4].js'
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        use: ['babel-loader'],
        include: resolve('./src')
      }
    ]
  }
}
